{include file="header.tpl" title="Bao tri Bao tri Par_Rpt_PL5_Bang1_TT21"}
<span style="color:#FF0000">{$errormaxmin}</span>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="26%">{$lbl_TABLE_NAME}</td>
    <!----{if $activefield eq 'enabled'} readonly="readonly"{/if}--->
    <td style="color:#FF0000" colspan="3">
      <input name="TABLE" type="text" id="TABLE" value="{$TABLE}" size="25" maxlength="20" style="background:{$colorTABLE}; text-align:left;"  {if $activefield eq 'enabled'} readonly="readonly" {/if}/>
      <input name="TABLEtmp" id="TABLEtmp" value="{$TABLE}" type="hidden" readonly="readonly"/>
      *
<input type="button" onclick="mywindow = window.open('log_column_comments_id.php?name=TABLE-COLUMN-TYPE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="tablename" id="replacement_binoculars" value="     " />

<input type="submit" name="find" value="     "  id="replacement_find" {if $activefield eq 'enabled'} disabled="disabled" {/if}/>
	  </td>
  </tr>
  
  <tr>
    <td>{$lbl_COLUMN_NAME}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="COLUMN" type="text" id="COLUMN" value="{$COLUMN}" size="30" maxlength="50" style="background:{$colorCOLUMN};" readonly="readonly"/>
      <input name="COLUMNtmp" id="COLUMNtmp" value="{$COLUMN}" type="hidden"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_DATA_TYPE}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="TYPE" type="text" id="TYPE" value="{$TYPE}" size="30" maxlength="50" style="background:{$colorTYPE};" readonly="readonly"/>
      <input name="TYPEtmp" id="TYPEtmp" value="{$TYPE}" type="hidden" readonly="readonly"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_COMMENT_ORG}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="ORG" type="text" id="ORG" value="{$ORG}" size="50" maxlength="50" style="background:{$colorORG};" readonly="readonly"/>
      <input name="ORGtmp" id="ORGtmp" value="{$ORG}" type="hidden" readonly="readonly"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_COMMENT_VN}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="VN" type="text" id="VN" value="{$VN}" size="50" maxlength="50" style="background:{$colorVN};" />
      <input name="VNtmp" id="VNtmp" value="{$VN}" type="hidden" readonly="readonly"/>
      *</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_COMMENT_EN}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="EN" type="text" id="EN" value="{$EN}" size="50" maxlength="50" style="background:{$colorEN};"/>
      <input name="ENtmp" id="ENtmp" value="{$EN}" type="hidden" readonly="readonly"/>
    </span></td>
  </tr>
  <tr>
    <td >&nbsp;</td>
    <td colspan="3"><input name="TOTAL" id="TOTAL" type="hidden" readonly="readonly"/></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="39%"><span style="color:#0033CC">
    <input type="button" name="capnhatbctc" id="capnhatbctc" value="{$ten_hieu_chinh}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="updateRow();" onkeypress="setSelected(0)"/>
    </span></td>
    <td width="12%">&nbsp;</td>
    <td align="right">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="4" align="center">
    <div align="left" style="width:1000px;height:300px;overflow:auto;border:1px solid #6B82AC;">
<table border="0" cellpadding="0" cellspacing="1" id="tblSample"  >
  <thead>
  <tr>
    <th></th>	
  	<th>{$lbl_STT}</th>
    <th>{$lbl_TABLE_NAME}</th>
    <th>{$lbl_COLUMN_NAME}</th>
    <th>{$lbl_DATA_TYPE}</th>
    <th>{$lbl_COMMENT_ORG}</th>
    <th>{$lbl_COMMENT_VN}</th>
	<th>{$lbl_COMMENT_EN}</th>
	<th></th>
  </tr>
  </thead>
  <tbody></tbody>
</table>
</div>
    </td>
  </tr>
   
<tr>
<td colspan="4">
<p>
<p></td>
</tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap"><input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'TABLE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $disabled eq 'false' } disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td align="left" nowrap="nowrap" colspan="4"><input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="23%" align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{$tbldata}
{$javascriptsetstyle}
{include file="footer.tpl"}
